﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="mtCmmtHierarchy_Add.aspx.vb" Inherits="mtCmmtHierarchy_Add" %>

<%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/style.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">

        <div style="float: left; width: 97%; border: solid; border-color: gray; border-width: 1px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; box-shadow: 5px 5px 5px #808080; text-align: right; padding: 5px 5px 5px 5px;">
            <div style="text-align: right; margin-top: 5px;">
                <div align="left" style="width: 300px; float: left">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </div>
            </div>
        </div>
        <div align="center">
            <br />
            <br />
            <br />
            <table>
                <tr>
                    <td>ชื่อกลุ่มแม่</td>
                    <td align="left">
                        <asp:Label ID="ParentLabel" runat="server" Text="Label"></asp:Label>

                    </td>
                </tr>
                <tr>
                    <td><asp:Label ID="Label2" runat="server" Text="Commitment Item"></asp:Label>  </td>
                    <td align="left">
                        <ISWebCombo:WebCombo ID="WebCombo1" Width="200px" runat="server" UseDefaultStyle="True" DataTextField="Description" DataValueField="CmmtCode" Height="20px" OnInitializeDataSource="WebCombo1_InitializeDataSource" AdditionalSearchFields="CmmtCode">
                            
                            <Columns>
                        <ISWebCombo:WebComboColumn BaseFieldName="CmmtCode" Bound="True" HeaderText="Code"
                            Name="Column0" Width="80px" />
                        <ISWebCombo:WebComboColumn BaseFieldName="Description" Bound="True" HeaderText="Description"
                            Name="Column1" Width="250px" />
                    </Columns>
                    <LayoutSettings  ComboMode="MultipleColumns"  AlwaysShowAllRowsOnDropdown="true"  AlwaysShowHelpButton="false">
                    </LayoutSettings>
                             
                        </ISWebCombo:WebCombo>
                        <asp:TextBox ID="GroupName" runat="server" Width="200px"></asp:TextBox>
                    </td>
                </tr>
            
                <tr>
                    <td colspan="2" align="center">
                        <br />
                        <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Icons/add.png" /></td>
                </tr>

            </table>
        </div>
    </form>
    <%=AlertText %>
    <%=ScriptText %>
    <style>
        .WC4-DD-N {
            height: 0px;
        }

        .WC4-DD-A {
            height: 0px;
        }
    </style>
</body>
</html>
